from django.conf.urls.defaults import *
from MDC.CARTOON.views import viewCartoon
from MDC.CARTOON import views

urlpatterns = patterns('',
    url(r'^$', views.viewCartoon),
    url(r'add', views.addcartoon),
    url(r'search', views.searchCartoon),
    #url(r'uploadCartoonImgs/', views.uploadCartoonImgs)
    url(r'\d*/edit', views.editCartoon),
    url(r'\d*/editPictures', views.editCartoonPictures),
    url(r'\d*/deletecartoonpre', views.deleteCartoonPre),
    url(r'\d*/delete', views.deleteCartoon),

)

urlpatterns += patterns('MDC.CARTOON.views',
    url(r'^uploadCartoonImgs/', 'uploadCartoonImgs',name="uploadCartoonImgs"),




)